package params

type LoginReq struct {
	Mobile   string `from:"mobile" json:"mobile" url:"mobile" binding:"required"`
	Password string `from:"password" json:"password" url:"password" binding:"required"`
}

type SendSms struct {
	Mobile string `from:"mobile" json:"mobile" url:"mobile" binding:"required"`
	Code   string `from:"code" json:"code" url:"code" binding:"required"`
}

type Post struct {
	Title   string `from:"title" json:"title" url:"title" binding:"required"`
	Content string `from:"content" json:"content" url:"content" binding:"required"`
	Image   string `from:"image" json:"image" url:"image" binding:"required"`
}
